import axios from './axios';

export const getAIRespond = (prompt) => {
    const encodedPrompt = encodeURIComponent(prompt);
    return axios.get(`https://api.mhimg.cn/api/gpt_aimaoniang/?prompt=${encodedPrompt}`);
  };